<!--start-top-serch-->
  <div id="search">
    <form method='get' action='http://www.baidu.com/s' target='_blank'>
    <input type="text" name='wd' id='wd' placeholder="搜索..."/>
    <button type="submit" class="tip-bottom" title="Search">
      <i class="icon-search icon-white"></i>
    </button>
  </form>
  </div>
  <!--close-top-serch-->
  <!--sidebar-menu-->
  <div id="sidebar">
    <a href="javascript:;" class="visible-phone">
      <i class="icon icon-home"></i>
      Dashboard
    </a>
    <ul>
      <li>
        <a href="{:U('Index/index')}">
          <i class="icon icon-home"></i>
          <span>综合信息</span>
        </a>
      </li>
      <li class='submenu'>
        <a href='{:U("Article/index")}'>
          <i class='icon  icon-bookmark'></i>
          <span>文章管理</span>
        </a>
        <php>$atlist = M("ArticleType")->field("id,name,key")->order("sort desc,id asc")->select();</php>
        <ul>
          <li>
            <a href='{:U("Article/index")}'>
              <span>所有文章</span>
            </a>
          </li>
          <volist name='atlist' id='vo'>
          <li>
            <a href='{:U("Article/index",array("ckey"=>$vo["key"]))}'>
              <span>{$vo.name}</span>
            </a>
          </li>
        </volist>
        </ul>
      </li>
      <li>
        <a href='{:U("ArticleType/index")}'>
          <i class='icon icon-tags'></i>
          <span>文章类别</span>
        </a>
      </li>
      <li>
        <a href='{:U("Link/index")}'>
          <i class='icon-globe'></i>
          <span>友情连接</span>
        </a> 
      </li>
        <li class='submenu'>
            <a href=''>
                <i class='icon-cogs'></i>
                <span>公众平台</span>
            </a>
            <ul>
                <li>
                    <a href='{:U("WeiXin/setting")}'>
                        <i class='icon-cog'></i>
                        <span>平台设置</span>
                    </a>
                </li>
                <li>
                    <a href=''>
                        <i class='icon-file'></i>
                        <span>消息回复</span>
                    </a>
                </li>
                <li>
                    <a href=''>
                        <i class='icon-file'></i>
                        <span>消息推送</span>
                    </a>
                </li>
            </ul>
        </li>
    </ul>
  </div>
  <!--sidebar-menu-->